package com.cci.kangdao.escalation.model.type;

/**
 * 升级工单状态表
 */
public enum TypeDictionary {

    //EscalationOrder_T: Status
    ORDERTYPE_FIELDENGINEER_FEEDBACK(1,"待区域工程师反馈"),
    ORDERTYPE_TECHNICIAN_CONFIRMING(2,"区域工程师反馈，待服务技师确认"),
    //进行中：不等于3 4 5
    ORDERTYPE_SERVICEEXPERT_FEEDBACK(3,"待服务专家反馈"),//待反馈
    ORDERTYPE_FINISHED(4,"升级完成"),//已完成
    ORDERTYPE_SHUTDOWN(5, "升级结束"),
    ORDERTYPE_TECHNICIAN_CONFIRMING_FROMSERVICEEXPERT(6,"服务专家反馈，待技师确认"),

    //EscalationReason_T: Type
    ESCALATIONTYPE_TECHNICIAN_TO_FIELDENGINEER(1,"服务技师-区域工程师"),
    ESCALATIONTYPE_FIELDENGINEER_TO_SERVICEEXPERT(2,"区域工程师-服务专家"),
    ESCALATIONTYPE_FIELDENGINEER_TO_SERVICEEXPERT_CREAT(3,"区域工程师创建-服务专家"),
    ESCALATIONTYPE_TECHNICIAN_TO_SERVICEEXPERT(4,"服务技师-服务专家"),
    ESCALATIONTYPE_TECHNICIAN_TO_SERVICEEXPERT_REMIND(5,"服务技师催单-服务专家"),
    ESCALATIONTYPE_TECHNICIAN_TO_SERVICEEXPERT_2(6,"服务技师拒绝反馈-服务专家"),

    //EscalationFlow_T: Type
    FLOWTYPE_TECHNICIAN_TO_FIELDENGINEER(1,"服务技师-区域工程师"),
    FLOWTYPE_FIELDENGINEER_TO_SERVICEEXPERT(2,"区域工程师-服务专家"),
    FLOWTYPE_FIELDENGINEER_TO_SERVICEEXPERT_CREAT(3,"区域工程师创建-服务专家"),
    FLOWTYPE_TECHNICIAN_TO_SERVICEEXPERT(4,"服务技师拒绝区域工程师反馈-服务专家"),
    FLOWTYPE_TECHNICIAN_TO_SERVICEEXPERT_REMIND(5,"服务技师催单-服务专家"),
    FLOWTYPE_TECHNICIAN_TO_SERVICEEXPERT_2(6,"服务技师拒绝服务专家反馈-服务专家"),
    FLOWTYPE_FEEDBACK_FROM_FIELDENGINEER(7,"区域工程师反馈，待技师确认"),
    FLOWTYPE_FEEDBACK_FROM_SERVICEEXPERT(8,"服务专家反馈，待技师确认"),
    FLOWTYPE_CONFIRM_FOR_FIELDENGINEER(9,"服务技师确认-区域工程师的反馈"),
    FLOWTYPE_WORKORDER_SHUTDOWN_1(10,"服务工单异常关闭，升级任务结束"),
    FLOWTYPE_WORKORDER_CANCEL(11,"服务工单已取消，升级任务结束"),
    FLOWTYPE_WORKORDER_FINISHED_1(12,"服务工单已完成，升级任务结束"),
    FLOWTYPE_CONFIRM_FOR_SERVICEEXPERT(13,"服务技师确认-专家的反馈"),
    FLOWTYPE_WORKORDER_FINISHED_2(14,"服务工单已完成，升级任务完成"),
    FLOWTYPE_WORKORDER_SHUTDOWN_2(15,"服务工单异常关闭，升级任务完成"),

    //人员清单
    ROLETYPE_01(1,"R0041"),//站长
    ROLETYPE_02(2,"R0069"),//信息员
    ROLETYPE_03(3,"R0033"),//服务商服务技师
    ROLETYPE_04(4,"R0074"),//区域工程师
    ROLETYPE_05(5,"R0091");//服务专家

    private Integer code;

    private String message;

    TypeDictionary(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }
}
